package com.icss.trans.ws.put;

import static org.junit.Assert.assertNotNull;

import org.junit.Test;

public class WsSenderTest {

    @Test
    public void testSendData() {
        String strRet = "";
        try {
            WsSendParam sendParam = new WsSendParam.Builder().sourceAppCode("010001")
                    .destOrgCode("10000001")
                    .destAppCode("010001")
                    .dataTransType("010001111")
                    .fileContent("aaaa")
                    .fileName("a.tx010001t")
                    .key("54CA5C39A400D3F90448039A5D80E23E")
                    .build();
            strRet = WsSender.sendData(sendParam);
            System.out.println("s----" + strRet);
        } catch (Exception e) {
            e.printStackTrace();
        }
        assertNotNull(strRet);
    }

}
